package com.accum.client;

import java.util.List;
import java.util.Map;

import com.accum.shared.pojo.WordEntry;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	
	Boolean addEntry(String entryName);
	
	List<String> getEntries();	
	
	WordEntry addWordEntry(WordEntry entry);
	List<WordEntry> searchEntries(Map<String, Object> params);
}
